<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <br />
    <!-- 需要使用a标签跳转 -->
    <a href="subPage">Goto subPage</a>
    <!-- 使用router-link不管用 -->
    <!-- <router-link to="/subPage/">Goto subPage</router-link> -->
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";

export default {
  name: "HomeView",
  components: {
    HelloWorld,
  },
};
</script>
